package com.xianbeiying.app.ckgl.bean;

import java.util.List;

/**
 * 实时监控信息
 */
public class RealTimeMtBean {
    /**
     * K : QUERY_CROPSTEP
     * V : {"CROPS":[{"CROPNAME":"西红柿","CROPSTEPINFOS":[{"cropId":1,"stepId":0,"plantType":0,"plantName":"西红柿","stepName":"生长期","stepColor":"00ff00","stepDuration":10,"remark":null},{"cropId":1,"stepId":1,"plantType":0,"plantName":"西红柿","stepName":"开花期","stepColor":"ff0000","stepDuration":15,"remark":null},{"cropId":1,"stepId":2,"plantType":0,"plantName":"西红柿","stepName":"结果期","stepColor":"0000ff","stepDuration":10,"remark":null},{"cropId":1,"stepId":3,"plantType":0,"plantName":"西红柿","stepName":"成熟期","stepColor":"ffff00","stepDuration":10,"remark":null}],"PLANTTIME":1474128000000}]}
     * R : true
     * ERR_MSG :
     */

    private String K;
    private VBean V;
    private boolean R;
    private String ERR_MSG;

    public String getK() {
        return K;
    }

    public void setK(String K) {
        this.K = K;
    }

    public VBean getV() {
        return V;
    }

    public void setV(VBean V) {
        this.V = V;
    }

    public boolean isR() {
        return R;
    }

    public void setR(boolean R) {
        this.R = R;
    }

    public String getERR_MSG() {
        return ERR_MSG;
    }

    public void setERR_MSG(String ERR_MSG) {
        this.ERR_MSG = ERR_MSG;
    }

    public static class VBean {
        /**
         * CROPNAME : 西红柿
         * CROPSTEPINFOS : [{"cropId":1,"stepId":0,"plantType":0,"plantName":"西红柿","stepName":"生长期","stepColor":"00ff00","stepDuration":10,"remark":null},{"cropId":1,"stepId":1,"plantType":0,"plantName":"西红柿","stepName":"开花期","stepColor":"ff0000","stepDuration":15,"remark":null},{"cropId":1,"stepId":2,"plantType":0,"plantName":"西红柿","stepName":"结果期","stepColor":"0000ff","stepDuration":10,"remark":null},{"cropId":1,"stepId":3,"plantType":0,"plantName":"西红柿","stepName":"成熟期","stepColor":"ffff00","stepDuration":10,"remark":null}]
         * PLANTTIME : 1474128000000
         */

        private List<CROPSBean> CROPS;

        public List<CROPSBean> getCROPS() {
            return CROPS;
        }

        public void setCROPS(List<CROPSBean> CROPS) {
            this.CROPS = CROPS;
        }

        public static class CROPSBean {
            private String CROPNAME;
            private long PLANTTIME;
            /**
             * cropId : 1
             * stepId : 0
             * plantType : 0
             * plantName : 西红柿
             * stepName : 生长期
             * stepColor : 00ff00
             * stepDuration : 10
             * remark : null
             */

            private List<CROPSTEPINFOSBean> CROPSTEPINFOS;

            public String getCROPNAME() {
                return CROPNAME;
            }

            public void setCROPNAME(String CROPNAME) {
                this.CROPNAME = CROPNAME;
            }

            public long getPLANTTIME() {
                return PLANTTIME;
            }

            public void setPLANTTIME(long PLANTTIME) {
                this.PLANTTIME = PLANTTIME;
            }

            public List<CROPSTEPINFOSBean> getCROPSTEPINFOS() {
                return CROPSTEPINFOS;
            }

            public void setCROPSTEPINFOS(List<CROPSTEPINFOSBean> CROPSTEPINFOS) {
                this.CROPSTEPINFOS = CROPSTEPINFOS;
            }

            public static class CROPSTEPINFOSBean {
                private int cropId;
                private int stepId;
                private int plantType;
                private String plantName;
                private String stepName;
                private String stepColor;
                private int stepDuration;
                private Object remark;

                public int getCropId() {
                    return cropId;
                }

                public void setCropId(int cropId) {
                    this.cropId = cropId;
                }

                public int getStepId() {
                    return stepId;
                }

                public void setStepId(int stepId) {
                    this.stepId = stepId;
                }

                public int getPlantType() {
                    return plantType;
                }

                public void setPlantType(int plantType) {
                    this.plantType = plantType;
                }

                public String getPlantName() {
                    return plantName;
                }

                public void setPlantName(String plantName) {
                    this.plantName = plantName;
                }

                public String getStepName() {
                    return stepName;
                }

                public void setStepName(String stepName) {
                    this.stepName = stepName;
                }

                public String getStepColor() {
                    return stepColor;
                }

                public void setStepColor(String stepColor) {
                    this.stepColor = stepColor;
                }

                public int getStepDuration() {
                    return stepDuration;
                }

                public void setStepDuration(int stepDuration) {
                    this.stepDuration = stepDuration;
                }

                public Object getRemark() {
                    return remark;
                }

                public void setRemark(Object remark) {
                    this.remark = remark;
                }
            }
        }
    }
}
